<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
    <!-- Loading Bootstrap -->
    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
    <!-- Loading Flat UI -->
    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
    <link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
</head>
<body>		
	<legend>添加子分类</legend> 	
	<div class="span12" style="width: 600px;">	
		<form action="" method="post">
		<table class="table table-bordered table-hover">
			<tbody>
				<tr>
				  <th width="120px" >类型属性</th>
				  <th width="100px">
				  	<select name="type_tid"  style="width: 160px;">
						<option value="0">请选择</option>						
						<?php foreach ($typeData as $v){?>
						<option value="<?php echo $v['tid']?>"><?php echo $v['tname']?></option>
						<?php }?>
					</select>
				  </th>
				</tr>
				<tr>
					<td>分类名称</td>
					<td><input type="text" name="cname"/></td>
				</tr>
				<tr>
					<td colspan='2' align='left'>
						<input type="hidden" name="pid" value="<?php echo $cate['cid']?>"/>
						<button type="submit" class="btn btn-primary">添加分类</button>
					</td>
				</tr>
			</tbody>	
		</form>
	</div>
</body>
</html>
